export interface CharacterScore {
  [key: string]: number;
}

export interface Option {
  text: string;
  scores: CharacterScore;
}

export interface Question {
  id: number;
  text: string;
  options: Option[];
}

export interface Character {
  name: string;
  description: string;
  type: "观察团" | "夫妻团";
}

export interface Characters {
  [key: string]: Character;
}

export const questions: Question[] = [
  {
    id: 1,
    text: "在观察他人的婚姻问题时，你通常会？",
    options: [
      {
        text: "一针见血指出问题核心，但不会太尖锐",
        scores: { "胡彦斌": 5, "黄执中": 4, "沈奕斐": 3 }
      },
      {
        text: "用幽默诙谐的方式表达看法",
        scores: { "papi酱": 5, "杨子": 4, "武艺": 3 }
      },
      {
        text: "从专业角度深入分析",
        scores: { "沈奕斐": 5, "黄执中": 4, "侯佩岑": 3 }
      }
    ]
  },
  {
    id: 2,
    text: "面对婚姻中的矛盾，你会采取什么态度？",
    options: [
      {
        text: "直接表达不满，追求平等和尊重",
        scores: { "黄圣依": 5, "葛夕": 4, "武艺": 3 }
      },
      {
        text: "用理性和包容的态度化解",
        scores: { "李行亮": 5, "侯佩岑": 4, "黄执中": 3 }
      },
      {
        text: "回避问题，用幽默缓解气氛",
        scores: { "杨子": 5, "刘爽": 4, "papi酱": 3 }
      }
    ]
  },
  {
    id: 3,
    text: "在处理家庭责任时，你的态度是？",
    options: [
      {
        text: "重视家庭责任，积极投入",
        scores: { "黄圣依": 5, "李行亮": 4, "侯佩岑": 3 }
      },
      {
        text: "感到压力，需要伴侣支持",
        scores: { "麦琳": 5, "杨子": 3, "刘爽": 4 }
      },
      {
        text: "追求独立，坚持自我",
        scores: { "葛夕": 5, "papi酱": 4, "武艺": 3 }
      }
    ]
  },
  {
    id: 4,
    text: "对于伴侣的情感表达，你更倾向于？",
    options: [
      {
        text: "敏感细腻，深入表达",
        scores: { "胡彦斌": 5, "麦琳": 4, "侯佩岑": 3 }
      },
      {
        text: "理性分析，寻找问题根源",
        scores: { "黄执中": 5, "沈奕斐": 4, "李行亮": 3 }
      },
      {
        text: "直接坦率，毫不掩饰",
        scores: { "黄圣依": 5, "葛夕": 4, "武艺": 3 }
      }
    ]
  },
  {
    id: 5,
    text: "在婚姻中遇到困难时，你会？",
    options: [
      {
        text: "从社会文化角度思考问题",
        scores: { "沈奕斐": 5, "黄执中": 4, "胡彦斌": 3 }
      },
      {
        text: "寻求情感支持和理解",
        scores: { "麦琳": 5, "杨子": 4, "刘爽": 3 }
      },
      {
        text: "独立面对，坚持自我价值",
        scores: { "葛夕": 5, "黄圣依": 4, "papi酱": 3 }
      }
    ]
  },
  {
    id: 6,
    text: "对于婚姻中的信任问题，你的态度是？",
    options: [
      {
        text: "重视相互信任，但会有所保留",
        scores: { "黄圣依": 5, "杨子": 4, "李行亮": 3 }
      },
      {
        text: "完全信任，可能显得过于依赖",
        scores: { "麦琳": 5, "刘爽": 4, "杨子": 3 }
      },
      {
        text: "保持独立，不过分依赖",
        scores: { "葛夕": 5, "papi酱": 4, "武艺": 3 }
      }
    ]
  },
  {
    id: 7,
    text: "在处理事业与家庭的平衡时，你会？",
    options: [
      {
        text: "优先考虑家庭责任",
        scores: { "李行亮": 5, "侯佩岑": 4, "麦琳": 3 }
      },
      {
        text: "追求事业发展和自我价值",
        scores: { "黄圣依": 5, "葛夕": 4, "papi酱": 3 }
      },
      {
        text: "在两者之间寻求平衡",
        scores: { "胡彦斌": 5, "沈奕斐": 4, "黄执中": 3 }
      }
    ]
  },
  {
    id: 8,
    text: "面对伴侣的情绪波动，你通常会？",
    options: [
      {
        text: "理性分析，寻找解决方案",
        scores: { "黄执中": 5, "沈奕斐": 4, "李行亮": 3 }
      },
      {
        text: "给予情感支持和理解",
        scores: { "侯佩岑": 5, "胡彦斌": 4, "papi酱": 3 }
      },
      {
        text: "感同身受，也容易情绪化",
        scores: { "麦琳": 5, "黄圣依": 4, "武艺": 3 }
      }
    ]
  },
  {
    id: 9,
    text: "在婚姻中遇到分歧时，你会？",
    options: [
      {
        text: "坚持自己的观点和立场",
        scores: { "葛夕": 5, "黄圣依": 4, "武艺": 3 }
      },
      {
        text: "寻求专业意见和建议",
        scores: { "沈奕斐": 5, "黄执中": 4, "胡彦斌": 3 }
      },
      {
        text: "选择妥协或暂时回避",
        scores: { "刘爽": 5, "杨子": 4, "麦琳": 3 }
      }
    ]
  },
  {
    id: 10,
    text: "对于婚姻的未来，你的态度是？",
    options: [
      {
        text: "积极面对，寻求改变",
        scores: { "胡彦斌": 5, "李行亮": 4, "侯佩岑": 3 }
      },
      {
        text: "保持理性，客观分析",
        scores: { "黄执中": 5, "沈奕斐": 4, "papi酱": 3 }
      },
      {
        text: "随遇而安，顺其自然",
        scores: { "杨子": 5, "刘爽": 4, "武艺": 3 }
      }
    ]
  }
] as const;

export const CHARACTERS: Characters = {
  "胡彦斌": {
    name: "胡彦斌",
    description: "音乐人特有的敏感性和对情感的深刻理解，善于从艺术和人文角度分析问题，性格细腻感性。",
    type: "观察团"
  },
  "papi酱": {
    name: "papi酱",
    description: "以幽默和直率著称，善于用轻松诙谐的方式解读问题，展现独立现代女性特质。",
    type: "观察团"
  },
  "黄执中": {
    name: "黄执中",
    description: "辩论家特有的逻辑性和洞察力，善于从心理学角度分析问题，理性专业。",
    type: "观察团"
  },
  "沈奕斐": {
    name: "沈奕斐",
    description: "社会学专家，善于从社会结构和文化背景出发分析问题，专业且有深度。",
    type: "观察团"
  },
  "侯佩岑": {
    name: "侯佩岑",
    description: "温和善解人意，善于从女性角度细腻解读情感问题，性格温柔理解力强。",
    type: "观察团"
  },
  "武艺": {
    name: "武艺",
    description: "年轻艺人特有的真实直接，表达年轻人对婚姻的真实看法，性格真诚坦率。",
    type: "观察团"
  },
  "黄圣依": {
    name: "黄圣依",
    description: "独立强势的女明星，在婚姻中追求平等和尊重，性格直接坦率。",
    type: "夫妻团"
  },
  "杨子": {
    name: "杨子",
    description: "善于用幽默化解矛盾，在婚姻中展现复杂情感，对现状有所不满。",
    type: "夫妻团"
  },
  "麦琳": {
    name: "麦琳",
    description: "敏感且具有依赖性，在婚姻中展现不安全感，对自我价值有所怀疑。",
    type: "夫妻团"
  },
  "李行亮": {
    name: "李行亮",
    description: "展现对家庭的责任感，对伴侣充满理解和包容，性格温和耐心。",
    type: "夫妻团"
  },
  "葛夕": {
    name: "葛夕",
    description: "自信独立，在婚姻中表现强势，坚持追求平等。",
    type: "夫妻团"
  },
  "刘爽": {
    name: "刘爽",
    description: "性格轻松幽默，在婚姻中表现出依赖性，对问题倾向于回避。",
    type: "夫妻团"
  }
} as const;